//提示的内容不是死的 把消息 换成了参数 全局的变量三个方法
Toast = {
    success: function (message) {
        Swal.fire({
            position: 'center',
            icon: 'success',
            title: message,
            showConfirmButton: false,
            timer: 1500
        })
    },

    error:function (message) {
        Swal.fire({
            position: 'center',
            icon: 'error',
            title: message,
            showConfirmButton: false,
            timer: 1500
        })
    },

    warning:function (message) {
        Swal.fire({
            position: 'center',
            icon: 'warning',
            title: message,
            showConfirmButton: false,
            timer: 3000
        })
    }
}
